if(!sessionStorage.getItem('userName')) {
    alert('请先登录')
    location.href = '../index.html'
}